package com.ibiaoke.customer.service;

import com.ibiaoke.common.base.Page;
import com.ibiaoke.customer.entity.DepositRecorder;

import java.math.BigDecimal;
import java.util.List;

/**
 * Created by Administrator on 2017/6/20.
 */
public interface DepositRecorderService {
    List<DepositRecorder> listDepositRecorder(String customerMobile, Page page);

    void insert(Integer customerId, Integer payType, String transactionNo, Integer tradeType, BigDecimal money);

    void insertByRefund(Integer customerId, Integer payType, String transactionNo, Integer tradeType, BigDecimal money);

    List<DepositRecorder> listDepositRecorderByCustomerId(Integer customerId,Page page);

    Integer insertByRefund(DepositRecorder depositRecorder);
}
